import React from 'react'
import './index.scss'
import T from 'prop-types'

export default function Point(props) {
  const {num} = props
  return (
    <div className="my-point" style={{display:num?'block':'none'}}>
      {num}
    </div>
  )
}
Point.propTypes = {
  num: T.string,
}
